package autoSpring;

import org.springframework.beans.factory.annotation.Autowired;

public class TeacherController {
    @Autowired
    private TeacherService ts;
    public Teacher getTeacher(){
        return ts.getTeacher();
    }
}
